package com.lhl.demo.service;

import com.lhl.demo.dao.PersonDao;
import com.lhl.demo.domain.entity.Person;
import com.lhl.demo.repository.PersonRepository;
import com.lhl.fw.db.service.BaseJpaServiceImpl;
import lombok.RequiredArgsConstructor;
import lombok.experimental.Delegate;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @className: PersonServiceImpl
 * @description: TODO 类描述
 * @author: king
 * @date: 2020-09-03 17:57
 **/
@Service
@Slf4j
@RequiredArgsConstructor(onConstructor = @__(@Autowired))
public class PersonServiceImpl extends BaseJpaServiceImpl<Person,String, PersonRepository> implements PersonService {
    //lombok扩展,生成对应方法
    @Delegate
    private final PersonDao personDao;
}